WP_Statistics\Service\Admin\Posts\PostsManager S

Total Complexity 48
Dependencies 12
Dependents 2
Total lines 358
Lines of code 176
Logical lines of code 86
Comment lines 122
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
getPostStatisticsSummary()
A
38 12 65
initHitsColumn()
A
48 13 27
__construct()
S
55 6 17
enqueueSidebarPanelAssets()
S
57 5 16
addPostMetaBoxes()
S
53 3 27
shouldDisplaySummaryMetabox()
S
76 3 3
shouldDisplayLatestVisitorsMetabox()
S
76 2 3
addWordsCountCallback()
S
80 1 3
removeWordsCountCallback()
S
80 1 3
deletePostHits()
S
70 1 6
deleteTermHits()
S
70 1 6